<include file="Public:shophead"/>
<link rel="stylesheet" type="text/css" href="{cms>:RES}/css/cymain.css" />
<div class="content">

<div class="cLineB">
  <h4>{cms>$infoType.name}回复配置 </h4><a href="javascript:history.go(-1);" class="right btnGrayS vm" style="margin-top:-27px">返回</a>
 </div>
 <!--tab start-->

<!--tab end-->        
    <div class="msgWrap bgfc">
	  <form class="form" method="post" action="" target="_top" enctype="multipart/form-data">	 
		<table class="userinfoArea" style=" margin:0;" border="0" cellspacing="0" cellpadding="0" width="100%">
			<tbody>
				<tr>
				  <th valign="top"><span class="red">*</span>关键词：</th>
				  <td>
					<span class="red">{cms>$infoType.keyword} —— 当用户输入该关键词时，将会触发此回复。</span></td>
				</tr>
				<tr>
					<th width="120"><span class="red">*</span>回复标题：</th>
					<td><input type="text" name="title" value="{cms>$set.title}" class="px" style="width:550px;"></td>
				</tr>
				<tr>
					<th width="120">内容介绍：</th>
					<td><textarea style="width:560px;height:75px" name="info" id="info" class="px">{cms>$set.info}</textarea><br/>最多填写120个字</td>
				</tr>
				<tr>
					<th>回复图片：</th>
					<td><input type="text" name="picurl" value="{cms>$set.picurl}" class="px" style="width:550px;"><br/> 填写图片外链地址，大小为720x400</td>
				</tr>
				<tr>
					<th>第三方接口：</th>
					<td><input name="apiurl" value="{cms>$set.apiurl}" class="px" style="width:550px;" type="text"><br> 只适用于引用第三方3G网站的链接</td>
				</tr>
				<if condition="$infoType.type eq 'Dining'">
				<tr>
					<th>订购方式开关：</th>
					<td><label><input type="checkbox" name="diningyuding" value="1" <if condition="$set.diningyuding eq 1">checked</if> /> 开启预定</label> <label><input type="checkbox" name="diningwaimai" value="1" <if condition="$set.diningwaimai eq 1">checked</if> /> 开启外卖</label></td>
				</tr>
				</if>
				<tr>
					<th>支付开关：</th>
					<td><select name="if_pay"><option value="0" <if condition="$set.if_pay eq 0">selected</if>>关闭</option><option value="1" <if condition="$set.if_pay eq 1"> selected</if>>开启</option></select>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<th>支付方式：</th>
					<td><select name="pay_type"><option value="0" <if condition="$set.pay_type eq 0">selected</if>>在线支付</option><option value="1" <if condition="$set.pay_type eq 1"> selected</if>>货到付款</option></select>&nbsp;&nbsp;支付开启时有效</td>
				</tr>
				<th>&nbsp;</th>
					<td>
					<input type="hidden" name="keyword" value="{cms>$infoType.keyword}" />
					<input type="hidden" name="infotype" value="{cms>$infoType.type}" />
					<input type="hidden" name="token" value="{cms>$token}" />
						<button type="submit" name="button" class="btnGreen">保存</button>
						<a href="javascript:history.go(-1);" class="btnGray vm">取消</a>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
  </div> 
</div>
   
	<div class="clr"></div>
<include file="Public:footer"/>